package com.aaa.dto;

import lombok.Data;

import java.util.List;

@Data
public class AddOrderDto {
    // 订单的id
    private Integer orderId;
    // 用户的id
    private Integer userId;
    // 总价
    private Integer allMoney;
    // 收货地址
    private String address;
    // 手机号
    private String phone;
    // 详细订单的id 需要等创建订单后返回的自增主键
    private Integer orderDetailId;
    // 商品id
    private Integer goodsId;
    // 购买数量
    private Integer buyCount;

    private List<GoodsListDto> goodsList;
}
